package com.ynet.middleground.riskmanage.bean.rizhaogang;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author songyf
 * @description 日照港货物信息查询
 * @date 2020-10-15 15:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "日照港货物信息查询请求信息", description = "日照港货物信息查询请求信息")
public class RzgGoodsInfoQueryReq extends BaseReqObj{

    private static final long serialVersionUID = 1246194518670046755L;

    @ApiModelProperty(value = "码头公司代码", notes = "码头公司代码", required = true)
    @NotBlank(message = "码头公司代码不能为空")
    private String companyCode;
    
    @ApiModelProperty(value = "作业委托人", notes = "作业委托人", required = true)
    @NotBlank(message = "作业委托人不能为空")
    private String workentrust;
    
    @ApiModelProperty(value = "货物种类", notes = "货物种类", required = true)
    @NotBlank(message = "货物种类不能为空")
    private String goodsType;
    
    @ApiModelProperty(value = "船名", notes = "船名", required = true)
    @NotBlank(message = "船名不能为空")
    private String shipNameCh;
    
    @ApiModelProperty(value = "合同号", notes = "合同号", required = true)
    @NotBlank(message = "合同号不能为空")
    private String contractNo;
}
